/*接口访问路径配置*/

export class SettingUrl {
  // 接口通讯url集合
  static URL: any = {
    /**
     * 首页统计
     */
    home: {
      count: '/platform/count',  //加载首页统计信息
    },
    /**
     * 基础路径配置
     */
    base: {
      enum: '/res/enum/',            //获取枚举接口
      uploadRetHttpUrl: '/upload/basic/uploadRetHttpURL',  //上传图片
      upload: '/upload/basic/upload',  //上传图片
      uuid: '/upload/basic/uid',      //获取上传图片的编码
    },
    /**
     * 登录接口
     */
    login: {
      login: '/login/mgt/signin',//登录接口
      logout: '/login/invalidate', //（get）退出登录登录
      signIn: '/login/mgt/user/signin', //（get）登录用户账户
    },
    activePool: {
      list: '/activePool/list',//ActivePool列表
      add: '/activePool/build',//添加ActivePool
      modify: '/activePool/modify',//修改ActivePool
      load: '/activePool/load/id/',//查询ActivePool信息
      updateState: '/activePool/updateState',//修改ActivePool状态
      batchTransfer: '/activePool/batchTransfer',//批量转出
    },
    activeRecord: {
      list: '/activeRecord/list',//ActiveRecord列表
      add: '/activeRecord/build',//添加ActiveRecord
      modify: '/activeRecord/modify',//修改ActiveRecord
      load: '/activeRecord/load/id/',//查询ActiveRecord信息
      updateState: '/activeRecord/updateState'//修改ActiveRecord状态
    },
    minerItem: {
      list: '/minerItem/list',//MinerItem列表
      add: '/minerItem/build',//添加MinerItem
      modify: '/minerItem/modify',//修改MinerItem
      load: '/minerItem/load/code/',//查询MinerItem信息
      updateState: '/minerItem/updateState'//修改MinerItem状态
    },
    myGroup: {
      list: '/myGroup/list',//MyGroup列表
      load: '/myGroup/load/id/',//查询MyGroup信息
    },
    news: {
      list: '/news/list',//News列表
      add: '/news/build',//添加News
      modify: '/news/modify',//修改News
      load: '/news/load/code/',//查询News信息
      delete: '/news/delete',//删除News
      updateState: '/news/updateState'//修改News状态
    },
    oreRecord: {
      list: '/oreRecord/list',//OreRecord列表
      load: '/oreRecord/load/id/',//查询OreRecord信息
    },
    platformAccount: {
      list: '/platformAccount/list',//PlatformAccount列表
      add: '/platformAccount/build',//添加PlatformAccount
      modify: '/platformAccount/modify',//修改PlatformAccount
      load: '/platformAccount/load/code/',//查询PlatformAccount信息
      updateState: '/platformAccount/updateState'//修改PlatformAccount状态
    },
    platformLog: {
      list: '/platformLog/list',//PlatformLog列表
      load: '/platformLog/load/id/',//查询PlatformLog信息
    },
    starLevel: {
      list: '/starLevel/list',//StarLevel列表
      add: '/starLevel/build',//添加StarLevel
      modify: '/starLevel/modify',//修改StarLevel
      load: '/starLevel/load/code/',//查询StarLevel信息
      updateState: '/starLevel/updateState'//修改StarLevel状态
    },
    starLevelRule: {
      list: '/starLevelRule/list',//StarLevelRule列表
      add: '/starLevelRule/build',//添加StarLevelRule
      modify: '/starLevelRule/modify',//修改StarLevelRule
      load: '/starLevelRule/load/id/',//查询StarLevelRule信息
    },
    starRecord: {
      list: '/starRecord/list',//StarRecord列表
      add: '/starRecord/build',//添加StarRecord
      modify: '/starRecord/modify',//修改StarRecord
      load: '/starRecord/load/id/',//查询StarRecord信息
      updateState: '/starRecord/updateState'//修改StarRecord状态
    },
    user: {
      list: '/user/list',//User列表
      add: '/user/build',//添加User
      addLeader: '/user/build/leader',//添加User
      modify: '/user/modify',//修改User
      load: '/user/load/code/',//查询User信息
      updateToLeader: '/user/updateToLeader',//修改User状态
      updatePwd: '/user/updatePwd',//修改User密码
      getAccount: '/user/load/account'//getAccount
    },
    userActive: {
      list: '/userActive/list',//UserActive列表
    },
    userBankCard: {
      list: '/userBankCard/list',//UserBankCard列表
    },
    userGroup: {
      list: '/userGroup/list',//UserGroup列表
      load: '/userGroup/load/userCode/',//查询UserGroup信息
      loadByPreUserCode: '/userGroup/load/preUserCode/',//查询UserGroup信息
    },
    userJlb: {
      list: '/userJlb/list',//UserJlb列表
    },
    userMiner: {
      list: '/userMiner/list',//UserMiner列表
    },
    userMinerWorkRecord: {
      list: '/userMinerWorkRecord/list',//UserMinerWorkRecord列表
    },
    userOre: {
      list: '/userOre/list',//UserOre列表
    },
    userPurchaseMinerRecord: {
      list: '/userPurchaseMinerRecord/list',//UserPurchaseMinerRecord列表
    },
    userSubAccount: {
      list: '/userSubAccount/list',//UserSubAccount列表
    },
    userDeposit: {
      list: '/userDeposit/list',//UserDeposit列表
    },
    count: {
      list: '/count/list',//Count列表
      load: '/count/load/id/',//查询Count信息
    },
    jlbOreLog: {
      list: '/jlbOreLog/list',//JlbOreLog列表
      load: '/jlbOreLog/load/id/',//查询JlbOreLog信息
    },
    setting: {
      list: '/setting/list',        //获取设置列表
      modify: '/setting/modify',        //修改设置列表
      build: '/setting/build',        //添加设置
      loadByK: '/setting/load/k/',        //查看设置
    },
    platform: {
      addBalance: '/platform/addBalance',//充值
      deductBalance: '/platform/deductBalance',//扣除
    }
  };

// 路由链接信息
  static ROUTERLINK: any = {
    basic: {
      home: '/main/home'
    },
    pass: {
      login: '/page/login', //登录
    },
    myGroup: {
      list: '/main/my',//my列表
      add: '/main/my/add',//添加my
      modify: '/main/my/modify',//修改my
      detail: '/main/my/detail'//查询my信息
    },
    oreRecord: {
      list: '/main/ore',//ore列表
      add: '/main/ore/add',//添加ore
      modify: '/main/ore/modify',//修改ore
      detail: '/main/ore/detail'//查询ore信息
    },
    news: {
      list: '/main/news/news',//News列表
      add: '/main/news/news/add',//添加News
      modify: '/main/news/news/modify',//修改News
      detail: '/main/news/news/detail',//查询News信息
    },
    user: {
      list: '/main/user/users',//User列表
      add: '/main/user/users/add',//添加用户
      modify: '/main/user/users/modify',//修改用户
      detail: '/main/user/users/detail',//查询User信息
      userBankCard: '/main/user/user-bank-card',//UserBankCard列表
      userActive: '/main/user/user-active',//UserActive列表
      userJlb: '/main/user/user-jlb',//UserJlb列表
      userMinerWorkRecord: '/main/user/user-miner-work-record',//UserMinerWorkRecord列表
      userOre: '/main/user/user-ore',//UserOre列表
      userPurchaseMinerRecord: '/main/user/user-purchase-miner-record',//UserPurchaseMinerRecord列表
    },
    userGroup: {
      list: '/main/user/user-group',//UserGroup列表
      detail: '/main/user/user-group/detail',//查询UserGroup信息
    },
    userSubAccount: {
      list: '/main/user/user-sub-account',//UserSubAccount列表
      add: '/main/user/user-sub-account/add',//添加UserSubAccount
      modify: '/main/user/user-sub-account/modify',//修改UserSubAccount
      detail: '/main/user/user-sub-account/detail'//查询UserSubAccount信息
    },
    userDeposit: {
      list: '/main/user/user-deposit',//user列表
    },
    finance: {
      recharge: '/main/finance/recharge',//转账记录
      actives: '/main/finance/actives',//激活币转账记录
      list: '/main/finance/record',//转账记录
      detail: '/main/finance/record/detail'//查询转账记录信息
    },
    count: {
      list: '/main/count',//count列表
    },
    activePool: {
      list: '/main/active/active-pool',//ActivePool列表
      add: '/main/active/active-pool/add',//添加ActivePool
      modify: '/main/active/active-pool/modify',//修改ActivePool
      detail: '/main/active/active-pool/detail',//查询ActivePool信息
    },
    activeRecord: {
      list: '/main/active/active-record',//ActiveRecord列表
      add: '/main/active/active-record/add',//添加ActiveRecord
      modify: '/main/active/active-record/modify',//修改ActiveRecord
      detail: '/main/active/active-record/detail'//查询ActiveRecord信息
    },
    platformAccount: {
      list: '/main/platform/platform-account',//PlatformAccount列表
      add: '/main/platform/platform-account/add',//添加PlatformAccount
      modify: '/main/platform/platform-account/modify',//修改PlatformAccount
      detail: '/main/platform/platform-account/detail',//查询PlatformAccount信息
    },
    platformLog: {
      list: '/main/platform/platform-log',//PlatformLog列表
      add: '/main/platform/platform-log/add',//添加PlatformLog
      modify: '/main/platform/platform-log/modify',//修改PlatformLog
      detail: '/main/platform/platform-log/detail'//查询PlatformLog信息
    },
    minerItem: {
      list: '/main/miner',//miner列表
      add: '/main/miner/add',//添加miner
      modify: '/main/miner/modify',//修改miner
      detail: '/main/miner/detail'//查询miner信息
    },
    starLevel: {
      list: '/main/star/star-levels',//StarLevel列表
      add: '/main/star/star-levels/add',//添加StarLevel
      modify: '/main/star/star-levels/modify',//修改StarLevel
      detail: '/main/star/star-levels/detail',//查询StarLevel信息
    },
    starLevelRule: {
      list: '/main/star/star-level-rule',//StarLevelRule列表
      add: '/main/star/star-level-rule/add',//添加StarLevelRule
      modify: '/main/star/star-level-rule/modify',//修改StarLevelRule
      detail: '/main/star/star-level-rule/detail',//查询StarLevelRule信息
    },
    starRecord: {
      list: '/main/star/star-record',//StarRecord列表
      add: '/main/star/star-record/add',//添加StarRecord
      modify: '/main/star/star-record/modify',//修改StarRecord
      detail: '/main/star/star-record/detail'//查询StarRecord信息
    }
  };
}
